/**
 * 
 */
package lt.vin.exaatto.client.ui;

import com.google.gwt.user.client.ui.TextBox;

/**
 * @author Vincentas
 *
 */
public class PlaceholderTextBox extends TextBox {

	private String placeholder;

	/**
	 * @return the placeholder
	 */
	public String getPlaceholder() {
		return placeholder;
	}

	/**
	 * @param palceholder the placeholder to set
	 */
	public void setPlaceholder(String palceholder) {		
		this.placeholder = palceholder;
		text(palceholder);
	}
	
	private native void text(String text) /*-{
	}-*/;
}
